/*
 * IterationStatement.h
 *
 *  Created on: 06/05/2010
 *      Author: rodolfo
 */

#ifndef ITERATIONSTATEMENT_H_
#define ITERATIONSTATEMENT_H_

#include "Statement.h"
#include "Expression.h"

class IterationStatement: public Statement
{
public:
    Expression *condition;
    Statement *command;

    IterationStatement ( StmType _kind );
    IterationStatement ( Expression *condition, Statement *command, StmType _kind );
    IterationStatement ( Statement *command, StmType _kind );
    IterationStatement ( Expression *condition, StmType _kind );
    virtual ~IterationStatement();
};

#endif /* ITERATIONSTATEMENT_H_ */
